package com.hzncc.flowable_diboot.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class SapException extends RuntimeException{

    private Integer code;

    private String message;

    public SapException(){

    }

    public SapException(String message){
        this.message = message;
    }

    public SapException(Integer code, String message){
        this.code = code;
        this.message = message;
    }

}
